package com.bootdo.lvyou.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 景点表
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-09 16:35:11
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class LvyouScenicSpot extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//名字
		@HapiFeild("名字")
	private String name;
	
	//地址
		@HapiFeild("地址")
	private String address;
	
	//标签
		@HapiFeild("标签")
	private String lables;
	
	//详细介绍
		@HapiFeild("详细介绍")
	private String introduce;
	
	//城市ID
		@HapiFeild("城市ID")
	private Long cityId;
	
	//城市名称
		@HapiFeild("城市名称")
	private String cityName;
	
	//经度
		@HapiFeild("经度")
	private Double lon;
	
	//纬度
		@HapiFeild("纬度")
	private Double lat;
	
	//代码
		@HapiFeild("代码")
	private String code;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;
	@HapiFeild("封面图")
	private String pic;

	@HapiFeild("开放时间")
	private String startTime;
	@HapiFeild("闭馆时间")
	private String endTime;

		@HapiFeild("头像")
		@NotColumn
	private List<LvyouAvatarList> listAvatarNew;

	@HapiFeild("头像数组")
	@NotColumn
	private String [] avatarArray;

	@HapiFeild("头像个数")
	@NotColumn
	private Integer cardNumber;

	@NotColumn
	private List<LvyouPunchCard> CardList;

	private Long userId;
	private String userName;

	public List<LvyouPunchCard> getCardList() {
		return CardList;
	}

	public void setCardList(List<LvyouPunchCard> cardList) {
		CardList = cardList;
	}

	@HapiFeild("旧价格")
	private BigDecimal oldMoney;
	@HapiFeild("新价格")
	private BigDecimal newMoney;

	@NotColumn
	private Double distance;

	//1为热门景点
	private Integer isRemen;


	//交通
	private String traffic;
	//贴士
	private String tips;

	public String[] getAvatarArray() {
		return avatarArray;
	}

	public void setAvatarArray(String[] avatarArray) {
		this.avatarArray = avatarArray;
	}

	public Integer getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(Integer cardNumber) {
		this.cardNumber = cardNumber;
	}

	public List<LvyouAvatarList> getListAvatarNew() {
		return listAvatarNew;
	}

	public void setListAvatarNew(List<LvyouAvatarList> listAvatarNew) {
		this.listAvatarNew = listAvatarNew;
	}

	public LvyouScenicSpot(){
    	this.lon = 0d;
    	this.lat = 0d;
    	this.createTime = new Date();
    	this.pic = "";
    	this.cityId = -1L;
    	this.oldMoney = new BigDecimal(0);
    	this.newMoney = new BigDecimal(0);
    	this.distance = -1d;
    	this.isRemen = 0;
    }

	public String getTraffic() {
		return traffic;
	}

	public void setTraffic(String traffic) {
		this.traffic = traffic;
	}

	public String getTips() {
		return tips;
	}

	public void setTips(String tips) {
		this.tips = tips;
	}

	public Integer getIsRemen() {
		return isRemen;
	}
	public void setIsRemen(Integer isRemen) {
		this.isRemen = isRemen;
	}
	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	public BigDecimal getOldMoney() {
		return oldMoney;
	}

	public void setOldMoney(BigDecimal oldMoney) {
		this.oldMoney = oldMoney;
	}

	public BigDecimal getNewMoney() {
		return newMoney;
	}

	public void setNewMoney(BigDecimal newMoney) {
		this.newMoney = newMoney;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：名字
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：名字
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * 获取：地址
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * 设置：标签
	 */
	public void setLables(String lables) {
		this.lables = lables;
	}
	/**
	 * 获取：标签
	 */
	public String getLables() {
		return lables;
	}
	/**
	 * 设置：详细介绍
	 */
	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}
	/**
	 * 获取：详细介绍
	 */
	public String getIntroduce() {
		return introduce;
	}
	/**
	 * 设置：城市ID
	 */
	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}
	/**
	 * 获取：城市ID
	 */
	public Long getCityId() {
		return cityId;
	}
	/**
	 * 设置：城市名称
	 */
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	/**
	 * 获取：城市名称
	 */
	public String getCityName() {
		return cityName;
	}
	/**
	 * 设置：经度
	 */
	public void setLon(Double lon) {
		this.lon = lon;
	}
	/**
	 * 获取：经度
	 */
	public Double getLon() {
		return lon;
	}
	/**
	 * 设置：纬度
	 */
	public void setLat(Double lat) {
		this.lat = lat;
	}
	/**
	 * 获取：纬度
	 */
	public Double getLat() {
		return lat;
	}
	/**
	 * 设置：代码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：代码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
